export type ChatMessage = {
    text: string;
    sender: string;
    timestamp: number;
    receiver: string,
    type: ChatMessageType;
};
export enum ChatMessageType {
    PrivateMessage = 1, // 私聊
    GroupMessage = 2, // 群聊
    SystemMessage = 3, // 系统通知
    NoticeMessage = 4,//  通知
}